package com.zh.work.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@ApiModel(value = "机构记录实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("branch_record")
public class BranchRecordEntity extends RecordClass {
  private static final long serialVersionUID = 4058529143798511264L;

  @ApiModelProperty(value = "主键", name = "id")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  public BranchRecordEntity() { }

  public BranchRecordEntity(Long id) { this.id = id; }

  public BranchRecordEntity(String beforeValue, String afterValue, Long operatorId, String requestFunc, Long id) {
    super(beforeValue, afterValue, operatorId, requestFunc);
    this.id = id;
  }
}
